<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><%@page import="persistence.IndicatorVO"%><%@page import="persistence.IndicatoriEngineDAO"%><html><head>	<link rel="stylesheet" href="css/demos.css" media="screen" type="text/css">	<script type="text/javascript" src="dhtml-suite.js"></script></head><body><% 		java.util.List<IndicatorVO> lsIndicator = (new IndicatoriEngineDAO()).listIndicator(request.getParameter("date"));%>
<div>
<table id="indicator">	<thead>		<tr>			<td>idstock</td>			<td>close</td>			<td>volume</td>			<td>MI05_perc</td>			<td>MI04_perc</td>			<td>MI05</td>			<td>MI04</td>			<td>vol_min</td>			<td>vol_max</td>			<td>percHL</td>			<td>buy_1</td>			<td>stop_1</td>			<td>limit_1</td>			<td>buy_2</td>			<td>stop_2</td>			<td>limit_2</td>			<td>buy</td>			<td>sell</td>			<td>idscript</td>		</tr>	</thead>
	<tbody><%	for(int x=0; x<lsIndicator.size(); x++) { 		IndicatorVO vo = lsIndicator.get(x);%>			<tr>			<td style="cursor:pointer;" onclick="showChart('<%=vo.getIdstock()%>')"><%=vo.getIdstock()%></td>			<td><%=vo.getClose()%></td>			<td><%=vo.getVolume()%></td>			<td><%=vo.getMI05_perc()%></td>			<td><%=vo.getMI04_perc()%></td>			<td><%=vo.getMI05()%></td>			<td><%=vo.getMI04()%></td>			<td><%=vo.getVol_min()%></td>			<td><%=vo.getVol_max()%></td>			<td><%=vo.getPercHL()%></td>			<td style="background-color:#AADDFE;"><%=vo.getBuy_1()%></td>			<td><%=vo.getStop_1()%></td>			<td><%=vo.getLimit_1()%></td>			<td style="background-color:#AADDFE;"><%=vo.getBuy_2()%></td>			<td><%=vo.getStop_2()%></td>			<td><%=vo.getLimit_2()%></td>			<td><%=vo.getBuy()%></td>			<td><%=vo.getSell()%></td>			<td><%=vo.getIdscript()%></td>		</tr><% } %>	</tbody></table></div>
<script type="text/javascript">function showChart(stock){	top.document.getElementById('window0').style.visibility = 'visible';  	top.frames.showChartStock("frameChartStock","stockChart",stock);}var tableWidgetObj_demo2 = new DHTMLSuite.tableWidget();tableWidgetObj_demo2.setTableId('indicator');tableWidgetObj_demo2.setTableWidth(1000);tableWidgetObj_demo2.setTableHeight(230);tableWidgetObj_demo2.setColumnSort(Array('N','N','N','N','N','N','N','N','N',false,false,false,false,false,false,'N','N','N','N'));tableWidgetObj_demo2.init();//tableWidgetObj_demo2.sortTableByColumn(1);// Initially sort the table by the second column</script><br></body></html>